package com.blb.zy_community.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.blb.zy_community.entity.ZyOwnerRoom;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blb.zy_community.entity.ZyOwnerRoomRecord;

import java.util.List;

/**
 * <p>
 * 房屋绑定表  服务类
 * </p>
 *
 * @author 二组
 * @since 2023-06-18
 */
public interface IZyOwnerRoomService extends IService<ZyOwnerRoom> {
    /**
     * 分页查询
     */
    Page<ZyOwnerRoom> selectZyOwnerRoom(Page<ZyOwnerRoom> page,String roomStatus,String communityId);
    List<ZyOwnerRoom> selectZyOwnerRoom(Long ownerRoomId);

    void updateOwnerRoom(ZyOwnerRoom zyOwnerRoom);

    List<ZyOwnerRoom> selectByOwnerId(Long id);
}
